feat: add frontend auto-deploy config#1043
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
benjamin-747
self-requested a review
May 20, 2025 03:37
benjamin-747
requested changes
May 20, 2025
liuyangjuncong20202570
force-pushed
the
upstream
branch
from
May 20, 2025 04:24
1c3d324 to
f1b5555
Compare
benjamin-747
requested changes
May 20, 2025
benjamin-747
requested changes
May 21, 2025
liuyangjuncong20202570
force-pushed
the
upstream
branch
from
May 21, 2025 10:10
f1b5555 to
0258571
Compare
benjamin-747
requested changes
May 21, 2025
benjamin-747
requested changes
May 23, 2025
liuyangjuncong20202570
force-pushed
the
upstream
branch
from
May 23, 2025 04:33
4547aaa to
5fc3725
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds configuration improvements to support frontend auto-deploy along with minor refactoring in various configuration files. Key changes include updating the production environment variable in the config package, adding a new API health endpoint, and modifying deployment workflows and Docker configuration.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| moon/packages/config/src/index.ts | Change production check from NODE_ENV to APP_ENV |
| moon/apps/web/utils/queryClient.ts | Reordered and updated import statements |
| moon/apps/web/tsconfig.json | Reformatted include and exclude arrays |
| moon/apps/web/pages/api/health.ts | Added a simple health endpoint for security detection |
| moon/apps/web/package.json | Updated the Next.js start command with explicit host and port |
| moon/apps/web/next.config.js | Updated Content Security Policy to include additional domains |
| moon/Dockerfile | Added a Dockerfile for auto-deploy purposes |
| .github/workflows/web-test.yml | Updated dependency install command and ref specification |
| .github/workflows/web-deploy.yml | Introduced a new deploy workflow with ECR image build and push |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
benjamin-747
approved these changes
May 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
增加
Docker配置文件Dockerfile
安全检测接口health.ts
gitmono/regex引用路径
修改
流水线配置文件web-test.yml
CSP域名配置
next start脚本端口
isProduction环境变量